package com.twoGroup.boot.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.data.relational.core.mapping.Column;

@TableName("t_address")
public class Address {
    private Integer addressId;
    private Integer userId;
    private String addressee;
    @Column(value = "addressee_tele")
    private String addresseeTele;
    private String address;


    public Address() {
    }

    public Address(Integer addressId, Integer userId, String addressee, String addresseeTele, String address) {
        this.addressId = addressId;
        this.userId = userId;
        this.addressee = addressee;
        this.addresseeTele = addresseeTele;
        this.address = address;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee;
    }

    public String getAddresseeTele() {
        return addresseeTele;
    }

    public void setAddresseeTele(String addresseeTele) {
        this.addresseeTele = addresseeTele;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressId=" + addressId +
                ", userId=" + userId +
                ", addressee='" + addressee + '\'' +
                ", addresseeTele='" + addresseeTele + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
